<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>成功</title>
</head>
<body>
    <h1>成功</h1>
    <!--th:text,将div里面的文本内容设置为-->
    <div id="div01" class="myDiv" th:id="${hello}" th:class="${hello}" th:text="${hello}">这是现实欢迎信息</div>

    <div th:text="${hello}"></div>
    <div th:utext="${hello}"></div>

    <!--th:each每次遍历都会生成一个当前标签-->
    <h4 th:text="${user}" th:each="user : ${users}"></h4>

    <h4>
        <span th:each="user : ${users}">[[${user}]]</span>
    </h4>

</body>
</html>